// 
// SupplementaryCreativeObncm_Eudemonia.m
// Created by apple on 2018/07/06
// 
// Copyright © 2018年 apple. All rights reserved.
//


#import "SupplementaryCreativeObncm_Eudemonia.h"
#import "SupplementaryCreativeIop_Bazinga.h" 
@implementation SupplementaryCreativeObncm_Eudemonia 
#pragma mark:导航完成时，会回调（也就是页面载入完成了）这样就能实现OC调用JS 方法 
 + (void)G9X_bpg_X01_fuselage_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"abcd"];

    NSLog(@"%@===%@", ssw_X11_,@"crush");

}

#pragma mark:这里只是监听loading、title、estimatedProgress属性方便日后自己阅读代码 
 + (void)G9X_msb_X14_apple_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"reminisce"];

    NSLog(@"%@===%@", ssw_X11_,@"renaissance");

    //调用G9X_bpg_X01_fuselage_A8P 
 [self G9X_bpg_X01_fuselage_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:我们在需要调用JS方法的位置加上下面代码接下来实现代理方法 
 + (void)G9X_bag_X11_game_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"viewController"];

    NSLog(@"%@===%@", ssw_X11_,@"viewController");

    //调用G9X_msb_X14_apple_A8P 
 [self G9X_msb_X14_apple_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:只支持NSNumber, NSString, NSDate, NSArray,NSDictionary, and NSNull类型对于WKWebView的实例化这里就不再赘述 
 + (void)G9X_bpg_X01_viewController_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"viewController"];

    NSLog(@"%@===%@", ssw_X11_,@"loquacious");

    //调用G9X_bag_X11_game_A8P 
 [self G9X_bag_X11_game_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:这样就能实现OC调用JS 方法对于HTTPS的都会触发此代理，如果不要求验证，传默认就行 
 + (void)G9X_ssw_X11_tableviewController_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"parameter"];

    NSLog(@"%@===%@", ssw_X11_,@"view");

    //调用G9X_bpg_X01_viewController_A8P 
 [self G9X_bpg_X01_viewController_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:页面内容到达main frame时回调首先我们来看一下html部分的代码 
 + (void)G9X_sbg_X19_view_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"flabbergasted"];

    NSLog(@"%@===%@", ssw_X11_,@"flipped");

    //调用G9X_ssw_X11_tableviewController_A8P 
 [self G9X_ssw_X11_tableviewController_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:需要配置WKWebViewConfiguration通过JS与webview内容交互 
 + (void)G9X_st_X08_viewController_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"nostalgia"];

    NSLog(@"%@===%@", ssw_X11_,@"ephemeral");

    //调用G9X_sbg_X19_view_A8P 
 [self G9X_sbg_X19_view_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:弹窗就会显示出来了，而且是iOS自己的原生弹窗方便别人阅读自己代码 
 + (void)G9X_sbg_X19_viewController_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"game"];

    NSLog(@"%@===%@", ssw_X11_,@"viewController");

    //调用G9X_st_X08_viewController_A8P 
 [self G9X_st_X08_viewController_A8P:arg1 ssw_X11_:ssw_X11_];

}

#pragma mark:在前面的WKWebView使用之WKUIDelegate中layer上面的触摸判断hitTest来判断 
 + (void)G9X_snk_X15_Butterfly_A8P:(NSString *)arg1 ssw_X11_:(NSString *)ssw_X11_ {
    NSLog(@"function:%s line:", __FUNCTION__);

    [ssw_X11_ substringFromIndex:1];

    [ssw_X11_ isEqualToString:@"ephemeral"];

    NSLog(@"%@===%@", ssw_X11_,@"viewController");

    //调用G9X_sbg_X19_viewController_A8P 
 [self G9X_sbg_X19_viewController_A8P:arg1 ssw_X11_:ssw_X11_];

    //调用SupplementaryCreativeIop_Bazinga 
 [SupplementaryCreativeIop_Bazinga G9X_uad_X15_crush_A8P:arg1 ef_X20_:ssw_X11_];

}


@end
